package com.chinaunicom.structure.bridge;

/**
 * @author liry
 * @version 1.0
 * @date Created on 2022/7/25 15:46
 * Description:
 */
public class ObjectAdapter extends Red{
    private Adaptee adaptee;
    
    public ObjectAdapter(Adaptee adaptee){
        this.adaptee = adaptee;
    }
    
    @Override
    public String getColor() {
        String color =  super.getColor();
        adaptee.specificRequest();
        return  color;
    }
}
